package com.crm.manager.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.StringSerializer;
import lombok.Data;

import java.time.LocalDateTime;

@Data
public class Business {
    public static final Integer TO_BE_FOLLOW_UP = 1;
    public static final Integer FOLLOWING_UP = 2;
    public static final Integer POOL = 3;


    private Integer id;
    private String name;
    private String phone;
    private Integer status;
    private String inPoolReason;
    private String sex;
    private String weixin;
    private String qq;
    private Integer age;
    private String provinces;
    private String city;
    private String subject;
    private String channel;
    private String remark;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm")
    private LocalDateTime nextTime;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime updateTime;
    private String createBy;
    private String updateBy;
    private Integer ownerId;
    private String owner;
    private String transfer;
}
